.Net Framework > v1.1.4322 > System > Diagnostics > StackTrace > StackTrace StackTrace()
StackTrace(Boolean)
StackTrace(StackFrame)
StackTrace(Exception)
StackTrace(Exception,Boolean)
StackTrace(Exception,Int32)
StackTrace(Exception,Int32,Boolean)
StackTrace(Int32)
StackTrace(Int32,Boolean)
StackTrace(Thread,Boolean)


StackTrace()

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class from the caller's frame. The StackTrace is created with the caller's current thread, and does not contain file name, line number, or column information.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class from the caller's frame, optionally capturing source information. The StackTrace is created with the caller's current thread.
Type
void
Character
public
Parameters
NameTypeDescription
fNeedFileInfoBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(StackFrame)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class that contains a single frame.
Type
void
Character
public
Parameters
NameTypeDescription
frameStackFrame
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Exception)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTraceclass.
Type
void
Character
public
Parameters
NameTypeDescription
eException
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Exception,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class, using the provided exception object and optionally capturing source information.
Type
void
Character
public
Parameters
NameTypeDescription
eException
fNeedFileInfoBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Exception,Int32)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class using the provided exception object and optionally skipping the given number of frames.The StackTrace does not contain file name, line number, or column information.
Type
void
Character
public
Parameters
NameTypeDescription
eException
skipFramesInt32
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Exception,Int32,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class using the provided exception object, optionally skipping the given number of frames and capturing source information.
Type
void
Character
public
Parameters
NameTypeDescription
eException
skipFramesInt32
fNeedFileInfoBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Int32)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class from the caller's frame, skipping the given number of frames. The StackTrace is created with the caller's current thread, and does not contain file name, line number, or column information.
Type
void
Character
public
Parameters
NameTypeDescription
skipFramesInt32
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Int32,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class from the caller's frame, skipping the given number of frames.
Type
void
Character
public
Parameters
NameTypeDescription
skipFramesInt32
fNeedFileInfoBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

StackTrace(Thread,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Diagnostics.StackTrace class for a specific thread, optionally capturing source information.
Type
void
Character
public
Parameters
NameTypeDescription
targetThreadThread
needFileInfoBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database